package com.bootdo.xzl.service;

import com.bootdo.xzl.domain.SecondhandGoodsDO;

import java.util.List;
import java.util.Map;

/**
 * 二手物品
 * 
 * @author chenhuan
 * @email huan.chen@i-soft.com.cn
 * @date 2019-12-20 09:54:12
 */
public interface SecondhandGoodsService {
	
	SecondhandGoodsDO get(Integer id);
	
	SecondhandGoodsDO secondhandGoodsInfo(Integer id);
	
	List<SecondhandGoodsDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(SecondhandGoodsDO secondhandGoods);
	
	int update(SecondhandGoodsDO secondhandGoods);
	
	int batchUpdate(Integer[] ids);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);
}
